<div id="result">
<?php echo $this->Session->flash(); ?>
<div class="shippings index">
<div class="div_header1">Add/Update tracking Number</div>	
	<?php echo $this->Form->create('Product', array('action' => 'add_tracking')); ?>
	<table id="category_table" cellspacing="0">	
	<tr>
		<td colspan="2">&nbsp;</td>		
	</tr>
	<tr>
		<td>Tracking Number : </td>
		<td>
			<?php echo $this->Form->input('Order.id',array('div'=>false,'label'=>false,'value'=>$transaction_id['Order']['id']));?>		
			<?php echo $this->Form->input('Order.transaction_id',array('type'=>'text','size'=>'30','div'=>false,'label'=>false,'class'=>'required','value'=>$transaction_id['Order']['transaction_id'])); ?>
		</td>
	</tr>	
	<tr>
		<td></td>
		<td>
			<input type="submit" name="update" id="update" value="Update" />
		</td>
	</tr>
	</table>	
	</form>
</div>
</div>
<?php  echo $html->script(array("jquery.min.js","jquery.form.js","jquery.validate.js","jquery.tablednd.js"));?>
<script type="text/javascript">  
jQuery(document).ready(function(){

var v = jQuery("#ProductAddTrackingForm").validate({
	submitHandler: function(form) {
		jQuery(form).ajaxSubmit({
			target: "#result"
		});
	}
});		 
});	 
</script>